home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8415 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  782 b 

  1. Path: news.xicom.com!news
  2. From: mjames@xicom.com (Michael S. James)
  3. Newsgroups: comp.lang.c++
  4. Subject: C++ vs. C
  5. Date: 17 Feb 1996 23:16:20 GMT
  6. Organization: XICOM NetWorks, Inc. - Wilmington DE's Christian Internet Gateway
  7. Message-ID: <4g5nk4$pra@noah.xicom.com>
  8. NNTP-Posting-Host: jonah.xicom.com
  9. Mime-Version: 1.0
  10. X-Newsreader: WinVN 0.99.3
  11.  
  12. Why are C++ executable programs atleast 10 times bigger than C programs.  
  13. Case and point.  I've been learning to write C and C++ and the first 
  14. promgram anyone teaches you to write is the "Hello World".
  15.  
  16. The C source and C++ source file are about the same number of lines of 
  17. code and about the same file size.  But after compliling the source,  C++ 
  18. programs are HUGE, 200K vs. 12K with C.
  19.  
  20. What's up with this?
  21.  
  22. -Mike James (newbie)
  23.  
  24.